@import './../../assets/variables.less';

.title--text {
	font-size: 16px;
	font-weight: normal;
	margin-top: 0px;
    margin-left: 10px;
}
.u-affix-content{
	background: #fff;
}
.header {
	background: #fff;
	.header__btn--context {
		border-bottom: 1px solid #DCDCDC;
		position: relative;
		.project-select {
			float: left;
			padding: 12px 20px;
			.project-title {
			    color: #4a4a4a;
			    float: left;
			    font-family: PingFangSC-Regular;
			    font-size: 14px;
			    margin: 10px 10px 0 0;
			}
			.u-select {
				float: left;
				width: 300px !important;
				height: 40px;
				.u-select-selection__rendered {
					margin-left: 14px ;
					font-size: 14px;
				}
			}
		}
		.projectName-select {
			float: right;
			padding: 12px 20px;
			.project-title {
			    color: #4a4a4a;
			    float: left;
			    font-family: PingFangSC-Regular;
			    font-size: 14px;
			    margin: 10px 10px 0 0;
			}
			.u-select {
				float: left;
				width: 300px !important;
				height: 40px;
				.u-select-selection__rendered {
					margin-left: 14px ;
					font-size: 14px;
				}
			}
		}
		.project-download {
			float: right;
			margin: 13px 22px 10.5px 0;
			width: 140px;
			height: 34px;
			font-size: 14px;
			background: #fff;
			color: #1884EE;
		    overflow: inherit;
		}
		.project-create {
			float: right;
			margin: 13px 22px 10.5px 0;
			width: 140px;
			height: 34px;
			font-size: 14px;
		}
		.dropdown-download {
			position: absolute;
			right: 183px;
			top: 48px;
			width: 140px;
			border: 1px solid #ccc;
			background: #fff;
			z-index: 999;
			border-radius: 4px;
			li {
				a {
				    display: block;
					padding: 10px;
					color: #666;
					text-align: center;
					&:hover {
						background: #0092FF ;
					}
				}
			}
		}
	}
	.header__progress {
		.project-totle {
			float: left;
			margin: 15px 20px;
			color: rgba(74, 74, 74, 1);
			font-size: 14px;
			font-family: PingFangSC-Semibold;
			font-weight: bold;
		}
	}
}
.project__contain {
	margin-top: 10px;
	padding-bottom: 100px;
	.project-item {
		background: #fff;
		margin-bottom: 10px;
		.project-item-header {
			.close-item {
				background: url('./../../assets/image/close_item.png') no-repeat;
				float: left;
				background-size: contain;
				height: 14px;
			    margin: 18px 10px 10px 30px;
			    width: 14px;
			}
			.show-item {
				background: url('./../../assets/image/show_item.png') no-repeat;
				float: left;
				background-size: contain;
				height: 14px;
			    margin: 18px 10px 10px 30px;
			    width: 14px;
			}
			.item-title {
				float: left;
				font-size: 12px;
				margin: 18px 0 10px;
				width: 500px !important;
			}
			.versio--type {
				float: left;
				font-size: 12px;
				margin-left: 100px;
			}
			.versio--number {
				float: left;
				font-size: 12px;
				margin-left: 20px;
				width: 70px;
			}
			.create--person {
				float: left;
				font-size: 12px;
				margin-left: 100px;
			}
			.create--time {
				float: left;
				font-size: 12px;
				margin-left: 5px;
			}
			.history--list {
				background: url('./../../assets/image/planHistory.png') no-repeat;
				float: left;
				width: 15px;
				height: 15px;
			    background-size: contain;
			    margin: 8px;
			    margin-top: 13px;
			}
			.project-item-btn {
				float: right;
				margin: 18px 60px;
				overflow: hidden;
				a {
					font-size: 12px;
					color: #2C7EDC ;
					padding:0 13px;
					border-right: 1px solid #ccc;
					margin-right: -1px;
					float: left;
				}
			}
			.project-item-date {
				float: left;
			    padding: 0px 0 10px;
			    width: 100%;
				p {
					font-size: 12px;
					color: #4A4A4A;
					float: left;
					margin: 0;
				}
				.current-progress {
					margin: 0 30px;
				}
				.plan-total {
					margin-right: 200px;
				}
				.plan-date {
					margin-right: 50px;
				}
			}
			#versionDiff{
				position: relative;
				top: 10px;
				margin-left: 100px;
			}

			.versionDiff-label{
				position: relative;
				top: 11px;
				left: 3px;
				font-size: 12px;
			}
		}
		.project-item-content {
			border-top: 1px dashed #ccc;
			padding: 20px 20px 0;
			.project-table {
				padding-bottom: 20px;
				.u-table {
					overflow: inherit;
					border-top: 1px solid #DDDEE1;
					border-left: 1px solid #DDDEE1;
					overflow-x: auto;
					table{
						min-width: 1300px;
						max-width: 130%;
					}
					
					.u-table-content {
						position: relative;
						
						.u-table-thead {
							tr {
								:nth-child(1) {
									padding: 12px 14px;
								}
								th {
									border-right: 1px solid #DDDEE1;
									padding: 12px 5px;
									background: #F3F3F3;
									color: #4A4A4A ;
									font-size: 12px;
								}
							}
						}
						.u-table-tbody {
							tr {
								td {
									position: relative;
									border-right: 1px solid #E0E0E0;
								    padding: 12px 12px 12px 14px;
								    font-size: 12px;
								    .u-table-row-expand-icon {
								    	float: left;
								    }
								    .u-table-row-indent {
								    	padding: 0 !important;
								    }
								    p {
								    	display: flex;
									    margin: 0;
									    width: 75%;
									    a {
											color: #5D5D5D;
    										flex: 1;
										}
										span {
											max-width: 250px;
											padding-right: 5px;
										}
								    }
								    a {
										color: #5D5D5D;
										float: left;
										position: relative;
									}

									.version-diff-modify-row{
										padding: 0 5px;
										border-radius: 10px;
										font-size: 12px;		
										margin-right: 5px;	
										width: 35px;
										display: inline-block;

										&.new{
											background-color: #4A90E2;
											color: white !important;

										}
										&.modify{
											background-color: #D0021B;
											color: white !important;

										}
										&.delete{
											background-color: #797979;
											color: white !important;
										}
										&.old{
											background-color: transparent;
											color: #5d5d5d !important;
											text-align: right;
										}
									}
									.version-diff-modify-cell *{
										color: #D0021B !important;
									}
								}
							}
							.row-contain-change{
								background-color: #FEFCEB;
							}
						}
					}
				}
			}
		}
	}
}

// 控制modal透明度
.u-modal.fade {
    opacity: 1;
}

.u-modal.in {
    .u-modal-dialog {
    	top: 16%;
    }
}

.modal-confirm {
	margin-top: 0;
}

.hide {
	display: none;
}

.approval--way {
	width: 100%;
	height: 525px;
	border: 1px solid #ccc;
	margin: 0 auto;
    overflow-y: auto;
    div {
    	ul {
    		li {
    			.item--status {
    				float: left;
    				width: 25%;
				    height: 100px;
    				position: relative;
    				span {
    					line-height: 100px;
    				}
    				.right--status {
    					background: url('./../../assets/image/right.png') no-repeat;
    					width: 24px;
    					height: 24px;
    					position: absolute;
    					right: 14px;
					    top: 42px;
					    z-index: 99;
    				}
    				.fail--status {
    					background: url('./../../assets/image/fail.png') no-repeat;
    					width: 24px;
    					height: 24px;
    					position: absolute;
    					right: 14px;
					    top: 42px;
					    z-index: 99;
    				}
    				.pending--status {
    					background: url('./../../assets/image/wating.png') no-repeat;
    					width: 24px;
    					height: 24px;
    					position: absolute;
    					right: 14px;
					    top: 42px;
					    z-index: 99;
    				}
    				.line {
    					width: 1px;
    					height: 100%;
    					border-left: 1px dashed #ccc;
					    position: absolute;
    					right: 30px;
    				}
    			}
    			.item--content {
    				float: left;
				    width: 70%;
				    margin-top: 20px;
				    border-radius: 20px;
				    background: #f3f3f3;
				    .base--data {
				    	margin-top: 10px;
				    	.name {
				    		float: left;
				    		margin-left: 35px;
				    	}
				    	.name--spe {
				    		float: left;
				    		margin: 0;
				    		margin-left: 35px;
				    		border-bottom: 1px solid #ccc;
			    		    width: 88%;
				    	}
				    	.date {
				    		float: right;
				    		margin-right: 25px;
				    		color:  #a6a6a6;
				    	}
				    }
				    p {
			    		text-align: left;
					    margin-left: 35px;
					    margin: 10px 25px 15px 35px;
					    color: #a6a6a6;
			    	}
    			}
    		}
    	}
    }
}

.show {
    display: block;
}
  
.hidden {
    display: none;
}
.addTarget{
	color: #2c7edc!important;
}
.targetModalheader{
	border-bottom: 1px solid #dcdcdc;
}

.milestone-style {
	// min-width: 200px!important;
	border-bottom: 1px solid #dddee1;
}